package com.snow.campuslink.courier.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Gaosl
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cl_courier")
@ApiModel(value="Courier对象", description="")
public class Courier implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "配送员id")
    @TableId(value = "courier_id", type = IdType.AUTO)
    private Long courierId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "逻辑删除:1 删除，0 未删除")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date modifiedTime;


}
